#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! Distribution over a number of dates
	/// </summary>
    [Guid ("D898D648-0F7B-48b4-955F-3423CCB2C8CC"),ComVisible(true)]
	public interface ITimeBasket 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Boolean HasDate(DateTime prm1);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.ITimeBasket Rebin(Cephei.Core.IVector<DateTime> buckets);
    }   

    /// <summary> 
	/// ! Distribution over a number of dates Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ITimeBasket_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ITimeBasket Create (Cephei.Core.IVector<DateTime> dates, Cephei.Core.IVector<Double> values);
        /// <summary> 
		/// 
		/// </summary>
	    ITimeBasket Create ();
    }
}

